import { coordinateData } from './coordinate-data'

export function convertData(data: any) {
  const coordinateResult: any[] = []
  data.forEach((item: any) => {
    if (coordinateData[item.address]) {
      coordinateResult.push({ name: item.address, value: [...coordinateData[item.address], item.count] })
    }
  })

  return coordinateResult
}


